﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="list.aspx.cs" Inherits="He.Web.manage.comment.list" %>

<%@ Register Src="../_uc/head_list.ascx" TagPrefix="uc" TagName="head_list" %>
<%@ Register Src="../_uc/head.ascx" TagPrefix="uc" TagName="head" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>评论列表</title>
    <uc:head runat="server" ID="uchead" />
    <uc:head_list runat="server" ID="uchead_list" />
</head>
<body style="padding: 10px;">
    <form id="form1" runat="server">
    <div class="navigation">
        <b>您当前的位置：首页 &gt;
            <%=channel.manage_title %>
            &gt; 评论列表</b>
    </div>
    <div class="spClear">
    </div>
    <table width="100%" border="0" cellspacing="0" cellpadding="0" class="msgtable">
        <asp:Repeater ID="rptList" runat="server">
            <ItemTemplate>
                <tr>
                    <td class="comment">
                        <div class="user">
                            <span class="left">[<%#ViewChannel(Convert.ToInt32(Eval("channel_id")))%>]<asp:HiddenField
                            ID="HiddenId" runat="server" Value='<%#Eval("id") %>' />
                            </span><span>网友：<%#Eval("user_name").ToString()%></span>
                            <%--<span class="grade<%#Eval("Grade").ToString()%>">
                            </span>--%><span>
                                <%#string.Format("{0:g}", Eval("add_time"))%></span>
                        </div>
                        <dl class="ask">
                            <dt><b>
                                <asp:CheckBox ID="Check" CssClass="checkall" runat="server"></asp:CheckBox>
                            </b>标题：</dt>
                            <dd>
                                <%# Convert.ToInt32(Eval("is_lock")) == 1 ? "<img src=\"../images/wsh01.gif\" title=\"未审核\" />" : ""%><%#Eval("ptitle")%></dd>
                        </dl>
                        <dl class="answer">
                            <dt><b></b>评论内容：</dt>
                            <dd>
                                <%#Eval("content").ToString()%></dd>
                        </dl>
                    </td>
                </tr>
            </ItemTemplate>
        </asp:Repeater>
    </table>
    <div class="spClear">
    </div>
    <div style="line-height: 30px; height: 30px;">
        <%=He.Web.UI.HtmlHelper.PagerText(pcount, psize, page, "?"+Comb_UrlTxt(this.channel_id,this.pid)+"&page=__id__")%>
        <div style="float: left">
            <span class="btn_all" onclick="CheckAll(this)">全 选</span> <span class="btn_bg">
                <asp:LinkButton ID="lbtnDel" runat="server" OnClick="lbtnDel_Click" OnClientClick="return confirm( '确定要删除这些记录吗？ ');">删除</asp:LinkButton></span>
            <span class="btn_bg">
                <asp:LinkButton ID="lbtnAudit" runat="server" OnClick="lbtnAudit_Click">审核</asp:LinkButton></span>
        </div>
    </div>
    </form>
</body>
</html>
